$OpenBSD: patch-test_test_mat_c,v 1.2 2006/12/02 00:19:11 steven Exp $
--- test/test_mat.c.orig	Sat Oct 28 21:20:58 2006
+++ test/test_mat.c	Sat Dec  2 00:54:00 2006
@@ -1590,6 +1590,9 @@ int main (int argc, char *argv[])
     }
 
     printf("%d of %d tests completed successfully\n",ntests-err,ntests);
+
+    if (err > 0)
+      return 1;
     
     return 0;
 }
